Skip to content

Sync with upstream #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Jul 19, 2024
Merged

Conversation

2010YOUY01
Copy link
Collaborator

No description provided.

malwaregarry and others added 19 commits April 11, 2024 11:40
[SQLite3] Use generic TLP Where oracle
* [ClickHouse] Added pattern for changed error message

https://fiddle.clickhouse.com/a3a95024-4da7-4275-baff-86f116014744

```
Received exception from server (version 24.2.3):
Code: 403. DB::Exception: Received from localhost:9000. DB::Exception: Cannot get JOIN keys from JOIN ON section: '476505718 = `_--right_2.c0`', found keys: [Left keys: [] Right keys [] Condition columns: '', 'equals(476505718, _--right_2.c0)']. (INVALID_JOIN_ON_EXPRESSION)
(query: SELECT SUM(check <> 0) FROM ((SELECT right_0.c0 AS `check` FROM t0 AS left FULL OUTER JOIN t0 AS right_0 ON ((left.c0)=(right_0.c0)) LEFT OUTER JOIN t0 AS right_1 ON ((left.c0)=(right_1.c0)) LEFT ANTI JOIN t0 AS right_2 ON ((476505718)=(right_2.c0)))) as res;)
```

* formatter
…#956)

CREATE TABLE WITH() allows storage parameters, but partitioned tables
emit an error (given below) if attempted. This is because partitioned
non-leaf tables are virutal tables [1] and don't accept
storage parameters.

Sample Error:
"ERROR: cannot specify storage parameters for a partitioned table"

This patch skips storage parameter generation for partitioned tables.

Ref:
1. https://www.postgresql.org/docs/current/ddl-partitioning.html
[DataFusion] Initial implementation of SQLancer
In Postgres, CREATE TABLE INHERITS () throws an error when VIEWs are
provided, sample given below.

ERROR: inherited relation "pg_buffercache" is not a table or foreign table

Ref:
1. https://www.postgresql.org/docs/current/ddl-inherit.html
In Postgres, CREATE TABLE INHERITS () throws an error when VIEWs are
provided, sample given below.

ERROR: inherited relation "pg_buffercache" is not a table or foreign table

Ref:
1. https://www.postgresql.org/docs/current/ddl-inherit.html
[ClickHouse] Added another pattern for changed error message #955
@2010YOUY01 2010YOUY01 merged commit f14743d into datafusion-contrib:main Jul 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants